package com.ovt.biz.impl;

import com.ovt.biz.UserBiz;
import com.ovt.dao.UserDao;
import com.ovt.dao.impl.UserDaoImpl;
import com.ovt.entity.User;

public class UserBizImpl implements UserBiz {

	@Override
	public User login(String userName, String password) {
		UserDao userDao = new UserDaoImpl();
		return userDao.findUser(userName, password);
	}

}
